<?php
   /**
    * 
    */
   class Sx_out extends CI_Controller {
    	var $mobi_key;
	   var $session_id;
	   var $y=TRUE;
       public function index(){
       		(empty($_POST['out_mobi_key']) || empty($_POST['out_session_id'])) ? $y=FALSE : $y ;
			if($y){
				@session_id($_POST['out_session_id']);
				@session_start();				
				session_unset();
				session_destroy();
				$myRet = array();
				$myRet['Msg_error'] = "0";
				$myRet['Msg'] = $this -> lang -> line('hck_out_Y');
				$myRet['MsgTime'] = date("Y-m-d H:i:s");
				return (json_encode($myRet));
			}else{
				print($this->fengchaoclass->showhckmsg("1","",$this->lang->line('hck_out_postnull'),TRUE));
			}
       }
   }
   
?>